Skip to content

Conversation

@JamesW1
Copy link
Contributor

@JamesW1 JamesW1 commented Dec 31, 2025

Changes

Do not merge before: directus-labs/starters#84 ⚠️

Updates the init success message to be conditional:

  • Shows admin credentials when ADMIN_EMAIL and ADMIN_PASSWORD are provided
  • Shows onboarding message when they're not provided
Screenshot 2025-12-31 at 10 47 12

Context

Linked to recent starters update (directus-labs/starters#84), the 'blank' template now uses Directus's onboarding flow instead of pre-configured admin accounts. This PR makes the CLI messaging aware of that pattern.

Before

Always showed: "You can login with email/password"

After

  • Templates with credentials: Shows login instructions
  • Templates without credentials: Shows onboarding instructions

Testing

  • Tested with blank template (no credentials) → shows onboarding message ✅
  • Tested with CMS template (has credentials) → shows login message ✅

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@bryantgillespie bryantgillespie self-requested a review January 14, 2026 13:53
Copy link
Collaborator

@bryantgillespie bryantgillespie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bryantgillespie bryantgillespie merged commit 07ede23 into directus-labs:main Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants